<?php
require("../../inc/header.php");

/*
		SoftName : EmpireBak Version 2010
		Author   : wm_chief
		Copyright: Powered by www.phome.net
*/

DoSetDbChar('utf8');
E_D("DROP TABLE IF EXISTS `fanwe_adv`;");
E_C("CREATE TABLE `fanwe_adv` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `tmpl` varchar(255) NOT NULL,
  `adv_id` varchar(255) NOT NULL,
  `code` text NOT NULL,
  `is_effect` tinyint(1) NOT NULL,
  `name` varchar(255) NOT NULL,
  `city_ids` varchar(255) NOT NULL,
  `rel_id` int(11) NOT NULL,
  `rel_table` varchar(255) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `tmpl` (`tmpl`),
  KEY `adv_id` (`adv_id`),
  KEY `city_ids` (`city_ids`),
  KEY `rel_id` (`rel_id`),
  KEY `rel_table` (`rel_table`)
) ENGINE=MyISAM AUTO_INCREMENT=46 DEFAULT CHARSET=utf8");
E_D("replace into `fanwe_adv` values('16','fanwe','首页通栏广告位','<img src=\"./public/attachment/201201/4f0137a68577b.jpg\" alt=\"\" border=\"0\" />','1','首页通栏广告位','','0','');");
E_D("replace into `fanwe_adv` values('37','fanwe','优惠券首页广告位1','<img src=\"./public/attachment/201204/01/16/4f7815f501ac1.jpg\" alt=\"\" border=\"0\" />','1','优惠首页广告1','','0','');");
E_D("replace into `fanwe_adv` values('43','fanwe','首页广告位1','<img border=\"0\" alt=\"\" src=\"http://dc.fanwe.com/public/attachment/201210/12/15/5077ca0fbdab7.jpg\" />','1','盛世源码社区测试1','','0','');");
E_D("replace into `fanwe_adv` values('15','fanwe','首页商品分类的广告位','<img src=\"./public/attachment/201201/4f01369a75566.jpg\" alt=\"\" border=\"0\" />','1','首页服装分类广告','','24','shop_cate');");
E_D("replace into `fanwe_adv` values('44','fanwe','首页广告位2','<img border=\"0\" alt=\"\" src=\"http://dc.fanwe.com/public/attachment/201210/12/16/5077d07b5d7ba.png\" />','1','盛世源码社区测试2·','','0','');");
E_D("replace into `fanwe_adv` values('45','fanwe','首页广告位3','<img border=\"0\" alt=\"\" src=\"http://dc.fanwe.com/public/attachment/201210/12/16/5077d0bf8a7ea.jpg\" />','1','盛世源码社区测试3','','0','');");
E_D("replace into `fanwe_adv` values('23','fanwe','商城首页广告位1','<img src=\"./public/attachment/201201/4f013c9a0a488.jpg\" alt=\"\" border=\"0\" />','1','商城首页广告','','0','');");
E_D("replace into `fanwe_adv` values('38','fanwe','优惠券首页广告位2','<img src=\"./public/attachment/201204/01/16/4f7815f501ac1.jpg\" alt=\"\" border=\"0\" />','1','优惠首页广告2','','0','');");
E_D("replace into `fanwe_adv` values('26','fanwe','商城首页广告位2','<img src=\"./public/attachment/201201/4f013c9a0a488.jpg\" alt=\"\" border=\"0\" />','1','商城首页广告','','0','');");
E_D("replace into `fanwe_adv` values('27','fanwe','商城首页广告位3','<img src=\"./public/attachment/201201/4f013c9a0a488.jpg\" alt=\"\" border=\"0\" />','1','商城首页广告','','0','');");
E_D("replace into `fanwe_adv` values('42','fanwe','代金券首页广告位3','<img src=\"./public/attachment/201204/01/16/4f7815f501ac1.jpg\" alt=\"\" border=\"0\" />','1','代金券首页3','','0','');");
E_D("replace into `fanwe_adv` values('41','fanwe','代金券首页广告位2','<img src=\"./public/attachment/201204/01/16/4f7815f501ac1.jpg\" alt=\"\" border=\"0\" />','1','代金券首页2','','0','');");
E_D("replace into `fanwe_adv` values('39','fanwe','优惠券首页广告位3','<img src=\"./public/attachment/201204/01/16/4f7815f501ac1.jpg\" alt=\"\" border=\"0\" />','1','优惠首页广告3','','0','');");
E_D("replace into `fanwe_adv` values('40','fanwe','代金券首页广告位1','<img src=\"./public/attachment/201204/01/16/4f7815f501ac1.jpg\" alt=\"\" border=\"0\" />','1','代金券首页1','','0','');");

require("../../inc/footer.php");
?>